package com.example.common.cqsupervision.dto.req;

import java.util.List;

import lombok.Data;

// 线上处方点评(Q310)

@Data
public class Prescription {
    private String patientNo;
    private String medicalNum;
    private String patientName;
    private String patientSex;
    private String credentialType;
    private String credentialNum;
    private String birthday;
    private String race;
    private String recipeNum;
    private String recipeStatus;
    private String recipeType;
    private String recipeCategory;
    private String deptCode;
    private String deptName;
    private String hosDeptCode;
    private String hosDeptName;
    private String recipeDocCode;
    private String recipeDocName;
    private String recipeDocTitle;
    private String recipeDocSignatureValue;
    private String recipeDocSigncertificate;
    private String recipeDocSignatureXML;
    private String recipeDocTimeStamp;
    private String recipeDate;
    private String trialPharmCode;
    private String trialPharmName;
    private String trialPharmTitle;
    private String trialPharmSignatureValue;
    private String trialPharmSigncertificate;
    private String trialPharmSignatureXML;
    private String trialPharmTimeStamp;
    private String trialDate;
    private String recipeFeeTotal;
    private String recipedistribut;
    private String keepUseFlag;
    private List<AdditionalDiagnosis> additionalDiagnosisList;
    private String symptomCode;
    private String symptomCodeName;
    private List<Allergen> allergenList;
    private List<Drug> drugList;

    @Data
    public static class AdditionalDiagnosis{
        private String diagnosisCode;
        private String diagnosisName;
        private String DiagnosisClassify;
        private String diagnosisType;
        private String diagSort;
    }

    @Data
    public static class Allergen{
        private String allergyCode;
        private String allergen;
        private String allergicReaction;
    }

    @Data
    public static class Drug{
        private String recipeSerialNum;
        private String groupNo;
        private String hospitalDrugCode;
        private String drugCommonName;
        private String drugDose;
        private String drugDoseUnit;
        private String medicationRoute;
        private String frequency;
        private String formulation;
        private String deliverNum;
        private String deliverNumUnit;
        private String money;
        private String drugCategory;
    }
}
